package com.cn.common.consumer;

import com.cn.common.MessageQueue;

import java.util.Set;

public class MessageQueueAllLock {

    private String clientId;
    private String group;
    private Set<MessageQueue> messageQueueSet;

    public MessageQueueAllLock() {
    }

    public MessageQueueAllLock(String clientId, String group, Set<MessageQueue> messageQueueSet) {
        this.clientId = clientId;
        this.group = group;
        this.messageQueueSet = messageQueueSet;
    }

    public String getClientId() {
        return clientId;
    }

    public MessageQueueAllLock setClientId(String clientId) {
        this.clientId = clientId;
        return this;
    }

    public String getGroup() {
        return group;
    }

    public MessageQueueAllLock setGroup(String group) {
        this.group = group;
        return this;
    }

    public Set<MessageQueue> getMessageQueueSet() {
        return messageQueueSet;
    }

    public MessageQueueAllLock setMessageQueueSet(Set<MessageQueue> messageQueueSet) {
        this.messageQueueSet = messageQueueSet;
        return this;
    }
}
